package com.deer.wms.ASN.manage.model.asn;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * AsnDetailView 入库单明细表的视图类 可以查到合格数量回传erp
 * @author       dengyougang
 * @since        1.0
 */
@Getter
@Setter
@NoArgsConstructor
@Table(name = "asn_detail_view")
public class AsnDetailView implements Serializable {
    private static final long serialVersionUID = 5046685577598028048L;
    /**
     * ASN单号
     */
    @Column(name = "bill_no")
    private String billNo;

    /**
     * ASN详情单号
     */
    @Column(name = "detail_no")
    private String detailNo;

    /**
     * 物料编码
     */
    @Column(name = "item_code")
    private String itemCode;

    /**
     * 物料名称
     */
    @Column(name = "item_name")
    private String itemName;
    /**
     * 合格数量
     */
    @Column(name = "qualified_quantity")
    private Double qualifiedQuantity;

    //ASN单行号erp_batch
    private int erpLineNo;

    //ASN单行号erp_batch
    private int shipLineNo;
    //采购单位
    private String unitName;

}
